package 观察者模式例子;

/**
 * Created by lilei on 2016/3/17.
 */
//subject，被观察者,保存所有观察者，自身有变化，再去通知观察者
public interface BossAction {
    public void registerListener(BossListener bossListener);
    public void removeListener(BossListener bossListener);
    public void notifyAllpeople();
    public void doWhat();
}
